package com.trdcore.zyzkt.vo.vod;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author helen
 * @since 2020/6/5
 */
@Schema(description = "课程分类列表")
@Data
public class SubjectVo {

    @Schema(title ="课程分类ID")
    private Long id;

    @Schema(title ="课程分类名称")
    private String title;

    @Schema(title ="排序")
    private Integer sort;

    @Schema(title ="课程二级分类列表")
    private List<SubjectVo> children = new ArrayList<>();
}
